package com.crane.oss.school.bean.request.studentchangeclass;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */
@ApiModel(description = "修改参数")

@Getter
@Setter
@ToString

public class UpdateStudentChangeClassReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生异动id", name = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "学生id", name = "studentId")
    private Integer studentId;

    @ApiModelProperty(value = "原年级", name = "beforeGrade")
    @Size(max = 255, message = "beforeGrade长度超长")
    private String beforeGrade;

    @ApiModelProperty(value = "原学号", name = "beforeSn")
    @Size(max = 255, message = "beforeSn长度超长")
    private String beforeSn;

    @ApiModelProperty(value = "原校区id", name = "beforeSchoolId")
    private Long beforeSchoolId;

    @ApiModelProperty(value = "原班级id", name = "beforeClassId")
    private Long beforeClassId;

    @ApiModelProperty(value = "现学号", name = "currentSn")
    @Size(max = 255, message = "currentSn长度超长")
    private String currentSn;

    @ApiModelProperty(value = "现校区id", name = "currentSchoolId")
    private Long currentSchoolId;

    @ApiModelProperty(value = "现班级id", name = "currentClassId")
    private Long currentClassId;

    @ApiModelProperty(value = "创建人", name = "createUserId")
    private Long createUserId;


}
